package com.fushenlan.Vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author XUJIN
 * @DATE 2022/4/24
 * @PACKAGE_NAME com.fushenlan.po
 * @VERSION 1.0
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class EmergencyInfoVo {

    private Integer id;
    private String userId;
    @Excel(name = "求助人姓名", width = 15)
    private String userName;

    @Excel(name = "求助类型", width = 15,replace = {"买药_1","看病_2","生活用品_3","其他_4"})
    private String type;   //求助类型

    @Excel(name = "求助内容", width = 15)
    private String content;  //求助内容

    private String attachment;  //附件

    @Excel(name = "处理状态", width = 15,replace = {"未处理_1","处理中_2","已处理_3"})
    private String state;//状态
    private String result;//处理结果

    @Excel(name = "申请时间", width = 15,exportFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;   //申请时间

    @Excel(name = "求助人手机号码", width = 15)
    private String phoneNumber;

    private String dealId;   //处理人

    @Excel(name = "处理人", width = 15)
    private String dealName;   //处理人

    @Excel(name = "紧急度", width = 15,replace = {"紧急_1","较急_2","一般_3"})
    private String level;  //紧急度

    private Integer identifyType;  //紧急度

    private String identifyNo;  //证件号

    //居住地址
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dealTime;  //处理时间
}
